package top.component;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class ComponentCase2 implements ComponentInter{
    @Value("hemi")
    private String name;
    @Value("2000")
    private String age;
}
